f02f343a169651d3103c30d256c7180e217eb9f8,plugin_tooling/src-util/melnorme/utilbox/concurrency/Futures_Tests.java,AbstractFutureTest,test_cancellation_before_running,#,120
Before Change
protected void test_cancellation_before_running() {
init_Executor();
runnableFuture = initFuture_fromRunnable(new InvalidRunnable());
cancelFuture();
assertTrue(runnableFuture.isCancelled());
runnableFuture.run();
}
protected LatchRunnable2 submitRunnableFuture() {
After Change
protected void test_cancellation_before_running() {
init_Executor();
FUTURE future = initFuture_fromRunnable(new InvalidRunnable());
cancelFuture(future);
assertTrue(future.isCancelled());
runFuture(future);
}
protected void runFuture(FUTURE future) {